export function valueToPoint(radis, index, total) {

    const angle = ((Math.PI * 2) / total) * index
    const cos = Math.cos(angle)
    const sin = Math.sin(angle)
    const tx = 100 + radis * cos
    const ty = 100 + radis * sin
    return {
        x: tx,
        y: ty
    }
}